<?php

namespace Jhub1_Common\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\AnnotationRegistry;

/**
 * @ORM\Entity
 * @ORM\Table(name="ofUser")
 */
class OfUser
{

    /**
     * @ORM\Id
     * @ORM\Column(type="string", name="username", length=64, unique=true, nullable=false);
     * @var string
     */
    private $username;

    /**
     * @ORM\Column(type="string", name="plainPassword", length=32, nullable=true)
     * @var string
     */
    private $plainPassword;

    /**
     * @ORM\Column(type="string", name="encryptedPassword", length=250, nullable=true)
     * @var string
     */
    private $encryptedPassword;

    /**
     * @ORM\Column(type="string", name="name", length=100, nullable=true)
     * @var string
     */
    private $name;

    /**
     * @ORM\Column(type="string", name="email", length=100, nullable=true)
     * @var string
     */
    private $email;

    /**
     * @ORM\Column(type="string", name="creationDate", length=15, nullable=false)
     * @var string
     */
    private $creationDate;

    /**
     * @ORM\Column(type="string", name="modificationDate", length=15, nullable=false)
     * @var string
     */
    private $modificationDate;

    public function getEmail()
    {
        return $this->email;
    }

    public function setEmail($val)
    {
        $this->email = $val;
    }

    public function getName()
    {
        return $this->name;
    }

    public function setName($val)
    {
        $this->name = $val;
    }

    public function getUsername()
    {
        return $this->username;
    }

    public function setUsername($val)
    {
        $this->username = $val;
    }

    public function getPlainPassword()
    {
        return $this->plainPassword;
    }

    public function setPlainPassword($val)
    {
        $this->plainPassword = $val;
    }

    public function getEncryptedPassword()
    {
        return $this->encryptedPassword;
    }

    public function setEncryptedPassword($val)
    {
        $this->encryptedPassword = $val;
    }

    public function getCreationDate()
    {
        return $this->creationDate;
    }

    public function setCreationDate($val)
    {
        $this->creationDate = $val;
    }

    public function getModificationDate()
    {
        return $this->modificationDate;
    }

    public function setModificationDate($val)
    {
        $this->modificationDate = $val;
    }
}